package com.learnJava.JavaBean;

public class Test {
    public static void main(String[] args) {
        Student s1 = new Student();
        s1.setName("yjy");
        s1.setAge(20);
        s1.setScore(100);
//        s1.printInfo();

        Student s2 = new Student("jy", 21, 99);
//        s2.printInfo();

        StudentOperator o = new StudentOperator(s1);
        o.printAverageScore();
        o.printTotalScore();
    }

}
